<template>
	<div class="page_wrap">
		<div class="content_wrap">
			<div class="pic_box">
				<ul>
					<li>
						<img src="../images/001.jpg" alt="">
					</li>
					<li>
						<img src="../images/002.jpg" alt="">
					</li>
					<li>
						<img src="../images/003.jpg" alt="">
					</li>
					<li>
						<img src="../images/004.jpg" alt="">
					</li>
					<li>
						<img src="../images/005.jpg" alt="">
					</li>
					<li>
						<img src="../images/006.jpg" alt="">
					</li>
				</ul>
			</div>
		</div>
	</div>
</template>

<script>
	export default {
		data() {
			return {
				tableData: [],
			}
		},
		created() {},
		mounted() {
			this.init();
		},
		methods: {
			init() {},
			clickFn(item) {},

		}
	};
</script>

<style lang="scss" scoped>
	@import '~assets/css/mixin';
	.page_wrap {
		height: 100%;
		background: #fff;
	}
	
	.content_wrap {
		display: flex;
		justify-content: center;
		align-items: center;
		perspective: 1000px;
		/*透视 - 近大远小*/
	}
	
	.pic_box {
		margin: 120px auto 0;
		transform: rotateX(-30deg);
		transform-style: preserve-3d;
	}
	
	.pic_box ul {
		width: 300px;
		height: 240px;
		/* border: 1px solid red; */
		position: relative;
		transform-style: preserve-3d;
		animation: _rotate 10s linear infinite;
	}
	
	.pic_box ul li {
		position: absolute;
		left: 0;
		right: 0;
		width: 300px;
		height: 240px;
		border: 1px solid #eee;
		background: #000;
		box-shadow: 1px 1px 20px #fff;
	}
	
	.pic_box ul li img {
		width: 100%;
		height: 100%;
		-webkit-box-reflect: below 40px -webkit-linear-gradient(top, rgba(250, 250, 250, 0), rgba(250, 250, 250, 0) 30%, rgba(250, 250, 250, 0.5));
	}
	
	.pic_box ul li:nth-child(1) {
		transform: rotateY(0deg) translateZ(300px);
	}
	
	.pic_box ul li:nth-child(2) {
		transform: rotateY(60deg) translateZ(300px);
	}
	
	.pic_box ul li:nth-child(3) {
		transform: rotateY(120deg) translateZ(300px);
	}
	
	.pic_box ul li:nth-child(4) {
		transform: rotateY(180deg) translateZ(300px);
	}
	
	.pic_box ul li:nth-child(5) {
		transform: rotateY(240deg) translateZ(300px);
	}
	
	.pic_box ul li:nth-child(6) {
		transform: rotateY(300deg) translateZ(300px);
	}
	
	.pic_box ul:hover {
		animation-play-state: paused;
	}
	
	.pic_box ul li:hover img {
		opacity: 0.5;
		cursor: pointer;
		animation-play-state: paused;
	}
	
	@keyframes _rotate {
		0% {
			transform: rotateY(0deg);
		}
		100% {
			transform: rotateY(360deg);
		}
	}
</style>